﻿using System;
using System.Diagnostics;

namespace 代理模式
{
    public class Jone:IGiveGift
    {
        private SchoolGril _schoolGril;
        public Jone(SchoolGril schoolGril)
        {
            _schoolGril = schoolGril;
        }
        public void GaveDolls()
        {
           Debug.WriteLine(_schoolGril.Name+"送你娃娃");
        }
    
        public void GaveFlowers()
        {
            Debug.WriteLine(_schoolGril.Name + "送你花");
        }

        public void GaveChocolate()
        {
            Debug.WriteLine(_schoolGril.Name + "送你巧克力");
        }
    }
}
